﻿<UserControl 
  x:Class="ImmlPad.Plugins.About"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  Height="455" Name="This">

  <Canvas >
    <Canvas.Resources>

      <Storyboard x:Key="OnLoaded1" AutoReverse="True" RepeatBehavior="Forever">
        <!--<Rotation3DAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Group_of_2_ObjectsOR12" Storyboard.TargetProperty="(Model3D.Transform).(Transform3DGroup.Children)[2].(RotateTransform3D.Rotation)">
          <SplineRotation3DKeyFrame KeySpline="0.303,0.897,1,1" KeyTime="00:00:00">
            <SplineRotation3DKeyFrame.Value>
              <AxisAngleRotation3D Angle="14.255" Axis="0.959,0.283,0"/>
            </SplineRotation3DKeyFrame.Value>
          </SplineRotation3DKeyFrame>
          <SplineRotation3DKeyFrame KeyTime="00:00:03.2000000" KeySpline="0.214,0.962,1,1">
            <SplineRotation3DKeyFrame.Value>
              <AxisAngleRotation3D Angle="7.9763948141047472" Axis="-0.163454077697165,0.968929567872652,0.185629353784055"/>
            </SplineRotation3DKeyFrame.Value>
          </SplineRotation3DKeyFrame>
        </Rotation3DAnimationUsingKeyFrames>-->
        <!--<Rotation3DAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Group_of_2_ObjectsOR14" Storyboard.TargetProperty="(Model3D.Transform).(Transform3DGroup.Children)[2].(RotateTransform3D.Rotation)">
          <SplineRotation3DKeyFrame KeySpline="1,0.367,1,1" KeyTime="00:00:00">
            <SplineRotation3DKeyFrame.Value>
              <QuaternionRotation3D/>
            </SplineRotation3DKeyFrame.Value>
          </SplineRotation3DKeyFrame>
        </Rotation3DAnimationUsingKeyFrames>-->
      </Storyboard>
    </Canvas.Resources>


    <!-- this checkbox lets us use a binding to know the containing tab is selected -->
    <CheckBox x:Name="SelectedCheckBox" Visibility="Collapsed" IsChecked="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type TabItem}}, Path=IsSelected}">
      <CheckBox.Triggers>
        <EventTrigger RoutedEvent="CheckBox.Checked">
          <BeginStoryboard x:Name="LogoBeginStoryboard" Storyboard="{StaticResource OnLoaded1}"/>
        </EventTrigger>
        <EventTrigger RoutedEvent="CheckBox.Unchecked">
          <StopStoryboard BeginStoryboardName="LogoBeginStoryboard"  />
        </EventTrigger>
      </CheckBox.Triggers>
    </CheckBox>

    <Border Height="35" Width="100" Canvas.Left="0" Canvas.Top="70">
      <Border.Background>
        <RadialGradientBrush>
          <GradientStop Color="#4000" Offset="0"/>
          <GradientStop Color="#0000" Offset="1"/>
        </RadialGradientBrush>
      </Border.Background>
    </Border>

   
    <TextBlock Canvas.Left="85" Canvas.Top="27" Foreground="White">
      <Run FontSize="24" FontFamily="\Fonts\#Miramonte">
        ImmlPad   
      </Run>
      <Run FontSize="24" FontFamily="\Fonts\#Miramonte" Foreground="#FFFFA500" Text="{Binding ElementName=This, Path=Version}" />
      <LineBreak />
      <Run>© 2011 Craig Presti</Run>
      <LineBreak />
      <Hyperlink Foreground="White" TextDecorations="None" NavigateUri="http://immlpad.codeplex.com">http://immlpad.codeplex.com</Hyperlink>
    </TextBlock>

    <TextBlock Canvas.Left="20" Canvas.Top="110" TextWrapping="Wrap" Width="220" Foreground="#C0C0C0">
    <TextBlock.Resources>
      <Style TargetType="{x:Type Hyperlink}">
        <Setter Property="Foreground" Value="White" />
        <Setter Property="TextDecorations" Value="None" />
      </Style>
    </TextBlock.Resources>
      ImmlPad is free for personal or commercial use, but all the standard disclaimers apply.  Use it
      at your own risk.
      <LineBreak />
      <LineBreak />
      <LineBreak />
      Thanks to <Hyperlink NavigateUri="http://www.famfamfam.com/">famfamfam</Hyperlink>, producer of the (free) <Hyperlink NavigateUri="http://www.famfamfam.com/archive/silk-icons-thats-your-lot/">Silk Icon Set</Hyperlink> used in ImmlPad.
    <LineBreak />    
        <LineBreak />    
      A big thankyou to Robby Ingebretsen, author of <Hyperlink NavigateUri="http://www.kaxaml.com/">Kaxaml</Hyperlink> from which ImmlPad is derived.
    </TextBlock>

  </Canvas>


</UserControl>
